using UnityEngine;
using System.Collections;

public class NodosferaInfoscript : MonoBehaviour {
	
	float grid;
	
	GameObject obj;
	// Use this for initialization
	void Start () {
		obj = GameObject.Find("DespliegueNodos");
		
		grid = obj.GetComponent<MallaNodos>().gridSize;
		
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	
	void OnMouseOver()
	{
	
		Debug.Log("Nodo[" + (transform.position.x/grid) + "][" + (transform.position.y/grid) + "] __" + transform.position.x + ", " +transform.position.y );
		
	}
}
